<!--
 * @Author: ChengNan 1429323234@qq.com
 * @Date: 2024-09-05 10:38:16
 * @LastEditors: ChengNan 1429323234@qq.com
 * @LastEditTime: 2024-09-05 11:14:34
 * @FilePath: /src/views/0.web-front/7天入门/6.边框.html
 * @Description: 
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .container1 {
      width: 200px;
      height: 200px;
      background-color: antiquewhite;
      border: 1px solid red;
    }
    .container2 {
      width: 200px;
      height: 200px;
      background-color: antiquewhite;
      border: 1px solid red;
      border-radius: 50%;
    }
    .container3 {
      width: 200px;
      height: 200px;
      background-color: antiquewhite;
      border-width: 10px;
      border-color: aquamarine;
      border-style: double;
      border-radius: 0 40px 0 0;
    }
    .container4 {
      display: inline-block;
      border-top: 100px solid transparent;
      border-left: 100px solid green;
      border-right: 100px solid green;
      border-bottom: 100px solid green;
    }
    .container5 {
      display: inline-block;
      border-top: 100px solid green;
      border-left: 100px solid transparent;
      border-right: 100px solid transparent;
      border-bottom: 100px solid transparent;
    }
    .container6 {
      display: inline-block;
      border-top: 50px solid transparent;
      border-left: 200px solid green;
      border-right: 0px solid transparent;
      border-bottom: 50px solid transparent;
    }
    .container7 {
      display: inline-block;
      border-top: 0px solid transparent;
      border-left: 100px solid green;
      border-right: 100px solid transparent;
      border-bottom: 200px solid transparent;
    }
  </style>
</head>
<body>
  <div class="container1"></div>
  <hr>
  <div class="container2"></div>
  <hr>
  <div class="container3"></div>
  <hr>
  <div class="container4"></div>
  <div class="container5"></div>
  <div class="container6"></div>
  <div class="container7"></div>
</body>
</html>